import PageContent from "@/layout/pageContent"
import { Button, Result } from "antd"
import { useNavigate } from "react-router-dom";

const Page = () => {
        const navigate = useNavigate();

    return <PageContent>
        <Result
            status="404"
            title="404"
            subTitle="对不起，您访问的地址不存在"
            extra={<Button type="primary" onClick={()=>navigate('/')}>首页</Button>}
        />
    </PageContent>
}
export default Page